Skip to content

Add Inkling deployment helper for Akash#123

Merged
Tibo2403 merged 4 commits into
mainfrom
agent/add-inkling-akash-deploy
Jul 17, 2026
Merged

Add Inkling deployment helper for Akash#123
Tibo2403 merged 4 commits into
mainfrom
agent/add-inkling-akash-deploy

Conversation

@Tibo2403

Copy link
Copy Markdown
Owner

What changed

  • adds scripts/bash/deploy_inkling_akash.sh
  • generates an Akash SDL targeting 1x RTX 3090 by default
  • deploys a LiteLLM gateway to a remote OpenAI-compatible Inkling endpoint
  • explicitly blocks misleading self-host deployment on a single RTX 3090
  • adds docs/inkling-akash.md with setup, security, cost, and test instructions

Why

Inkling cannot be self-hosted on a 24 GiB RTX 3090. The helper preserves the requested Akash GPU option while making the limitation explicit and providing a usable API-gateway deployment path.

Validation

  • script uses strict Bash mode and validates numeric/options input
  • --dry-run prints the generated SDL without writing or deploying
  • deployment requires explicit --deploy and an AKASH_KEY_NAME
  • generated files containing credentials are created with restrictive permissions

Important limitation

The RTX 3090 is not used for inference in API mode; a CPU-only Akash gateway would be cheaper. The documentation calls this out explicitly.

@Tibo2403
Tibo2403 marked this pull request as ready for review July 17, 2026 20:43
Copilot AI review requested due to automatic review settings July 17, 2026 20:43
@Tibo2403
Tibo2403 merged commit f8e9f62 into main Jul 17, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

What Problem This Solves

Inkling cannot be self-hosted on a single 24 GiB RTX 3090. This PR adds a helper that generates an Akash SDL for a small LiteLLM gateway that forwards requests to a remote OpenAI-compatible Inkling endpoint, making the non-self-host constraint explicit.

Why This Change Was Made

To preserve an Akash-based deployment option while steering users away from an impractical “single 3090” expectation and providing a concrete, reproducible gateway deployment path.

User Impact

Adds a new Bash deployment helper and documentation. Users running --dry-run / generating the SDL should be aware that secrets can be printed/written unless warnings/permissions are tightened.

Evidence

  • Before: no Inkling-on-Akash helper script or dedicated setup doc in the repo.
  • Tests: not provided in the PR metadata.
  • Checks: not provided in the PR metadata.
  • Autoreview: findings recorded on dry-run secret exposure, output-file permissions hardening, and a PR-description mismatch.

Changes:

  • Adds scripts/bash/deploy_inkling_akash.sh to generate (and optionally submit) an Akash SDL for a LiteLLM gateway.
  • Adds docs/inkling-akash.md with setup, cost/security notes, and a test example.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
scripts/bash/deploy_inkling_akash.sh New helper script to generate an Akash SDL (CPU default, optional RTX3090 profile) and optionally deploy via provider-services.
docs/inkling-akash.md New documentation for configuring, deploying, and testing the Akash LiteLLM gateway approach for Inkling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +174 to +178
if [[ "$DRY_RUN" == true ]]; then
printf '%s\n' "$SDL"
printf '\nDry run only; nothing was written or deployed.\n' >&2
exit 0
fi
Comment on lines +180 to +183
umask 077
printf '%s\n' "$SDL" >"$OUTPUT_FILE"
printf 'Generated %s\n' "$OUTPUT_FILE"
printf 'Security: this SDL contains secrets. Do not commit it; remove it after deployment.\n' >&2
Comment on lines +4 to +7
OUTPUT_FILE="deploy-inkling-akash.yaml"
PROFILE="cpu"
MAX_PRICE_UACT="25"
CPU_UNITS="0.5"
Comment thread docs/inkling-akash.md
bash scripts/bash/deploy_inkling_akash.sh --output deploy-inkling-akash.yaml
```

Le fichier SDL contient les secrets. Ne le commitez pas et supprimez-le après le déploiement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants